package com.xlh.constant;

import java.util.HashMap;
import java.util.Map;

/**
 * @author zhr 2019/2/28
 */
public class CourseTestConstant {
    private CourseTestConstant() {
    }

    /**
     * 下载考试导入模板的路径
     */
    public static final String TEST_EXCEL_MODEL_PATH = "excel/course_test_question.xls";

    /**
     * 下载随堂练习导入模板的路径
     */
    public static final String PRACTICE_EXCEL_MODEL_PATH = "excel/practice_question.xls";

    /**
     * 考试题目excel头部
     */
    public static final Map<String, String> TEST_EXCEL_HEADER = new HashMap<String, String>() {
        {
            put("编号", "orderNumber");
            put("题目", "question");
            put("题型", "typeName");
            put("选项", "choice");
            put("答案", "answer");
            put("题目所属章节", "chapterName");
        }
    };

    /**
     * 随堂练习excel头部
     */
    public static final Map<String, String> PRACTICE_EXCEL_HEADER = new HashMap<String, String>() {
        {
            put("编号", "orderNumber");
            put("题目", "question");
            put("题型", "typeName");
            put("选项", "choice");
            put("答案", "answer");
        }
    };

    /**
     * 自动批阅延迟时间，单位：ms
     */
    public static final long AUTO_CHECK_DELAY = 60 * 1000;
}
